package com.edu.bhu.admin.mapper;

import java.util.List;
import com.edu.bhu.admin.domain.BikBicycle;

/**
 * 单车Mapper接口
 * 
 * @author heyinan
 * @date 2022-03-14
 */
public interface BikBicycleMapper 
{
    /**
     * 查询单车
     * 
     * @param bikId 单车主键
     * @return 单车
     */
    public BikBicycle selectBikBicycleByBikId(Long bikId);

    /**
     * 查询单车列表
     * 
     * @param bikBicycle 单车
     * @return 单车集合
     */
    public List<BikBicycle> selectBikBicycleList(BikBicycle bikBicycle);

    /**
     * 新增单车
     * 
     * @param bikBicycle 单车
     * @return 结果
     */
    public int insertBikBicycle(BikBicycle bikBicycle);

    /**
     * 修改单车
     * 
     * @param bikBicycle 单车
     * @return 结果
     */
    public int updateBikBicycle(BikBicycle bikBicycle);

    /**
     * 删除单车
     * 
     * @param bikId 单车主键
     * @return 结果
     */
    public int deleteBikBicycleByBikId(Long bikId);

    /**
     * 批量删除单车
     * 
     * @param bikIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBikBicycleByBikIds(String[] bikIds);
}
